package com.malamute.system.entity;

/**
 * @author AceGuan gjybst@163.com
 * @description 权限类型
 * @date 2012-2-5 上午01:57:28
 * @version v1.0
 */
public enum PrivilegeType implements BasicEnum {
	URL("链接权限"), ACTION("事件权限");
	private String value;

	private PrivilegeType(String value) {
		this.value = value;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @param value
	 * 
	 * @see com.malamute.system.entity.BasicEnum#setValue(java.lang.String)
	 */
	@Override
	public void setValue(String value) {
		this.value = value;

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @return
	 * 
	 * @see com.malamute.system.entity.BasicEnum#getKey()
	 */
	@Override
	public String getKey() {
		return this.toString();
	}

}
